package com.micai.springboot.base;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 描述：
 * <p>
 * Author: 赵新国
 * Date: 2017/10/24 18:21
 */
public abstract class BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;
    /**
     * 创建人
     */
    private Long creator;
    /**
     * 创建时间
     */
    private Timestamp tsInsert;
    /**
     * 修改人
     */
    private Long modifier;
    /**
     * 修改时间
     */
    private Timestamp tsUpdate;

    /**
     * 数据有效性标识 0为有效数据 NULL为无效字段
     */
    private Integer dr;

    public Long getCreator() {
        return creator;
    }

    public void setCreator(Long creator) {
        this.creator = creator;
    }

    public Long getModifier() {
        return modifier;
    }

    public void setModifier(Long modifier) {
        this.modifier = modifier;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Timestamp getTsInsert() {
        return tsInsert;
    }

    public void setTsInsert(Timestamp tsInsert) {
        this.tsInsert = tsInsert;
    }

    public Timestamp getTsUpdate() {
        return tsUpdate;
    }

    public void setTsUpdate(Timestamp tsUpdate) {
        this.tsUpdate = tsUpdate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

}
